Skip to content

Fix 47337: Ensure $login is never null when calling ilObjUser::_lookupId() (use …#11206

Open
jheim2 wants to merge 2 commits intoILIAS-eLearning:release_11from
jheim2:patch-8
Open

Fix 47337: Ensure $login is never null when calling ilObjUser::_lookupId() (use …#11206
jheim2 wants to merge 2 commits intoILIAS-eLearning:release_11from
jheim2:patch-8

Conversation

@jheim2
Copy link
Contributor

@jheim2 jheim2 commented Feb 27, 2026

…?? '')

Prevent cronjob failure when $login is null

…?? '')

Prevent cronjob failure when $login is null
@jheim2 jheim2 changed the title Ensure $login is never null when calling ilObjUser::_lookupId() (use … Fix 47337: Ensure $login is never null when calling ilObjUser::_lookupId() (use … Feb 27, 2026
@Akumatic
Copy link
Contributor

Akumatic commented Mar 5, 2026

Thanks for the Pr. I'm not completely happy with it due to $login being passed directly into the select query in ilObjUser::_lookupId. With an empty string, unecpected results could probably occur.

i'll look into it

@mjansenDatabay mjansenDatabay added bugfix php Pull requests that update Php code labels Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants